JavaScript

A5.ButtonListupdateButton Method

Syntax

A5.ButtonList.updateButton(value,button)

Arguments

valueany

The value of the button in the button list to update.

buttonobject

An object containing the text, icon(s) and state of the specified button in the button list. See A5.ButtonList for details on the contents of the object.

Description

Update a button in the button list.

Example

// assume "colorsBtnList" is an A5.ButtonList
colorsBtnList.updateButton('blue',{html: 'Sky BLue'});